/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.alipay.android.app;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;

public abstract interface IAlixPay extends IInterface {
    public abstract String a(String paramString);

    public abstract String a();

    public abstract void a(IRemoteServiceCallback paramIRemoteServiceCallback);

    public abstract void b(IRemoteServiceCallback paramIRemoteServiceCallback);

    public static abstract class a extends Binder implements IAlixPay {
        public static IAlixPay a(IBinder paramIBinder) {
            if (paramIBinder == null)
                return null;
            IInterface localIInterface = paramIBinder.queryLocalInterface("com.alipay.android.app.IAlixPay");
            if ((localIInterface != null) && (localIInterface instanceof IAlixPay))
                return ((IAlixPay) localIInterface);
            return new a(paramIBinder);
        }

        public boolean onTransact(int paramInt1, Parcel paramParcel1, Parcel paramParcel2, int paramInt2) {
            switch (paramInt1) {
            case 1598968902:
                paramParcel2.writeString("com.alipay.android.app.IAlixPay");
                return true;
            case 1:
                paramParcel1.enforceInterface("com.alipay.android.app.IAlixPay");
                String str1 = paramParcel1.readString();
                String str2 = a(str1);
                paramParcel2.writeNoException();
                paramParcel2.writeString(str2);
                return true;
            case 2:
                paramParcel1.enforceInterface("com.alipay.android.app.IAlixPay");
                String str3 = a();
                paramParcel2.writeNoException();
                paramParcel2.writeString(str3);
                return true;
            case 3:
                paramParcel1.enforceInterface("com.alipay.android.app.IAlixPay");
                IRemoteServiceCallback localIRemoteServiceCallback1 = IRemoteServiceCallback.a.a(paramParcel1
                        .readStrongBinder());
                a(localIRemoteServiceCallback1);
                paramParcel2.writeNoException();
                return true;
            case 4:
                paramParcel1.enforceInterface("com.alipay.android.app.IAlixPay");
                IRemoteServiceCallback localIRemoteServiceCallback2 = IRemoteServiceCallback.a.a(paramParcel1
                        .readStrongBinder());
                b(localIRemoteServiceCallback2);
                paramParcel2.writeNoException();
                return true;
            }
            return super.onTransact(paramInt1, paramParcel1, paramParcel2, paramInt2);
        }

        private static class a implements IAlixPay {
            private IBinder a;

            a(IBinder paramIBinder) {
                this.a = paramIBinder;
            }

            public IBinder asBinder() {
                return this.a;
            }

            public String a(String paramString) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                String str;
                try {
                    localParcel1.writeInterfaceToken("com.alipay.android.app.IAlixPay");
                    localParcel1.writeString(paramString);
                    this.a.transact(1, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    str = localParcel2.readString();
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return str;
            }

            public String a() {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                String str;
                try {
                    localParcel1.writeInterfaceToken("com.alipay.android.app.IAlixPay");
                    this.a.transact(2, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                    str = localParcel2.readString();
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
                return str;
            }

            public void a(IRemoteServiceCallback paramIRemoteServiceCallback) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                try {
                    localParcel1.writeInterfaceToken("com.alipay.android.app.IAlixPay");
                    localParcel1.writeStrongBinder((paramIRemoteServiceCallback != null) ? paramIRemoteServiceCallback
                            .asBinder() : null);
                    this.a.transact(3, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
            }

            public void b(IRemoteServiceCallback paramIRemoteServiceCallback) {
                Parcel localParcel1 = Parcel.obtain();
                Parcel localParcel2 = Parcel.obtain();
                try {
                    localParcel1.writeInterfaceToken("com.alipay.android.app.IAlixPay");
                    localParcel1.writeStrongBinder((paramIRemoteServiceCallback != null) ? paramIRemoteServiceCallback
                            .asBinder() : null);
                    this.a.transact(4, localParcel1, localParcel2, 0);
                    localParcel2.readException();
                } finally {
                    localParcel2.recycle();
                    localParcel1.recycle();
                }
            }
        }
    }
}